package com.navinfo.platform.trip.common.arithmetic.var;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 青汽、一汽新增，经济车速统计变量
 * @author: web
 * @date: 2020-06-11
 **/
@Data
@EqualsAndHashCode(callSuper = true)
public class VarSpeedEconomic extends VarCommon {
    /**
     * 车速大于min（90km/h，经济车速区间上限）且非滑行状态的里程，单位:m
     **/
    private int noCoastMileage;

    /**
     * 累加车速大于min（90km/h，经济车速区间上限）且非滑行状态的里程
     * @param mileage 单位: M
     */
    public void addNoCoastMileage(double mileage){
        this.noCoastMileage += mileage;
    }

}

